<!DOCTYPE html>
<html lang="fr">
<head>

    <meta charset="utf-8" />
    <title>Y-commerce</title>

    <meta name="robots" content="">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- Stylesheets
    ================================================== -->
    <link rel="stylesheet" type="text/css" href="css/reset.css"/>
    <link rel="stylesheet" type="text/css" href="css/foundation.css"/>
    <link rel="stylesheet" type="text/css" href="css/style.css"/>
    <link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css"/>
    <link rel="stylesheet" type="text/css" href="css/responsiveslides.css">
    <link rel="stylesheet" type="text/css" href="css/prettyphoto.css">

    <!--[if IE 8]>
    <link rel="stylesheet" type="text/css" href="css/ie8.css" media="screen" />
    <![endif]-->

    <!-- Favicons
    ================================================== -->
    <link rel="shortcut icon" href="images/favicon.ico">
    <link rel="apple-touch-icon" href="png/apple-57.png">
    <link rel="apple-touch-icon" sizes="72x72" href="png/apple-72.png" />
    <link rel="apple-touch-icon" sizes="114x114" href="png/apple-114.png" />

    <!-- Webfonts
    ================================================== -->
    <link href='http://fonts.googleapis.com/css?family=Crete+Round:400,400italic' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Arimo:400,400italic,700,700italic' rel='stylesheet' type='text/css'>

    <script src="recherche.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
</head>
<body>

<!-- Header wrap -->
<header id="header">
    <div class="row">
        <div class="twelve columns">

            <!-- Logo wrap -->
            
            <div class="four columns logo">
                <h1><a href="./index.php">Y-commerce</a></h1>
            </div>
            
            <!-- Logo wrap -->
            <div class="eight columns">
                <!-- Contact wrap -->
                <ul class="top-contact">
                    <li>
                        <h5><span><img src="images/phone.png" alt=""/></span>Hotline</h5>
                        <p>532 336 9978</p>
                    </li>
                    <li>
                        <h5><span><img src="images/mail.png" alt=""/></span>Support</h5>
                        <p>admin@domain.com</p>
                    </li>
                </ul>
                <!-- Contact wrap -->
            </div>
        </div>
    </div>
</header>
<!-- Header wrap -->

<nav class="nav">
    <div class="row">
        <div class="twelve columns">
            <!--Menu section-->
            <div id="smoothmenu1" class="ddsmoothmenu">
                <ul>
                    <li><a href="index.php">Acheter</a></li>
                    <?php
                    if(isset($_SESSION['email'])) {
                        echo '<li><a href="index.php?a=vendre">Vendre</a></li>';
                        echo '<li><a href="#">'.$_SESSION['email'].'</a></li>';
                        echo '<li><a href="index.php?a=deconnexion">Déconnexion</a></li>';
                    }
                    else {
                        echo '<li><a href="index.php?a=connexion">Connexion</a></li>';
                        echo '<li><a href="index.php?a=inscription">Inscription</a></li>';
                    }
                    ?>
                </ul>
            </div>
        </div>
    </div>
</nav>
